<div class="frame_configDiv">
<form name="configForm" id="configForm" action="administrator-system-docateconfig" method="post">
  <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#c8d9e9">
  	<tr>
	  <td colspan="2">栏目数量管理</td>
	</tr>
    <tr>
      <td width="27%" class="ri-bbgg"> What's New?：</td>
      <td width="73%" class="le"><input class="configInput" value="<?=$this->cateArray['new_cate']?>" name="new_cate" /></td>
    </tr>
	<tr>
      <td width="27%" class="ri-bbgg"> Products：</td>
      <td width="73%" class="le"><input class="configInput" value="<?=$this->cateArray['product_cate']?>" name="product_cate" /></td>
    </tr>
	<tr>
      <td width="27%" class="ri-bbgg"> Hot Products：</td>
      <td width="73%" class="le"><input class="configInput" value="<?=$this->cateArray['hot_cate']?>" name="hot_cate" /></td>
    </tr>
	<tr>
      <td width="27%" class="ri-bbgg"> Top sellers：</td>
      <td width="73%" class="le"><input class="configInput" value="<?=$this->cateArray['top_cate']?>" name="top_cate" /></td>
    </tr>
	<tr>
      <td colspan="2" class="se" align="center">
        <input type="button" class="iput" value="保 存"   onclick="checkform();" />　　
        <input type="button" class="iput" value="返 回" onclick="commonEffection.confirmBack();" />
      </td>
    </tr>
  </table>
  </form>
</div>
<script>
function checkform(){
	var isTrue=true;
	$('.configInput').each(
		function(){
			if(!numTest($(this).val())){
				isTrue=false;
			}
		}
	);
	if(isTrue){
		$('#configForm').submit();
	}else{
		alert('请正确填写所有信息!');
	}
}
</script>